home *** CD-ROM | disk | FTP | other *** search
- ;;
- ;; Install_Istar - Istar installation script for Installer
- ;;
- ;; Copyright © Andrew Basden, June 1996
- ;;
- ;; Installer and Installer project icon
- ;; (c) Copyright 1991-93 Commodore-Amiga, Inc. All Rights Reserved.
- ;; Reproduced and distributed under license from Commodore.
- ;;
- ;; INSTALLER SOFTWARE IS PROVIDED "AS-IS" AND SUBJECT TO CHANGE;
- ;; NO WARRANTIES ARE MADE. ALL USE IS AT YOUR OWN RISK. NO LIABILITY
- ;; OR RESPONSIBILITY IS ASSUMED.
- ;;
-
- (set @path
- (askdir
- (default "work:")
- (prompt "Where do you want to install Istar (a new Istar diretory will be created here) ?")
- (help @makedir-help)
- )
- )
-
- (set @dest (tackon @path "Istar"))
-
- (if (NOT (exists @dest)))
- (makedir @dest
- (infos)
- )
-
- (set @dest1 (tackon @dest "KBs"))
-
- (if (NOT (exists @dest1)))
- (makedir @dest1
- (infos)
- )
-
- (if (NOT (exists "fonts:topaz")))
- (makedir "fonts:topaz"
- (infos)
- )
-
- (copylib
- (prompt "Install iff library?")
- (help "IFF library reads ILBM but is not essential to Istar.")
- (source "iff.library")
- (dest "libs:")
- (confirm)
- )
-
-
- (copyfiles
- (prompt "Install Istar fonts?")
- (help "Istar needs CGTimes and Topaz11, though probably works without them")
- (source "fonts")
- (dest "fonts:")
- (pattern "#?")
- (files)
- (confirm)
- )
-
-
- (if (NOT (exists "fonts:topaz")))
- (makedir "fonts:topaz"
- (infos)
- )
-
- (copyfiles
- (source "fonts/topaz")
- (dest "fonts:topaz")
- (pattern "#?")
- (files)
- )
-
- (copyfiles
- (help "This will copy the Istar program")
- (source "")
- (dest @dest)
- (pattern "Istar#?")
- (files)
- (infos)
- (confirm)
- )
-
- (copyfiles
- (help "This will copy the Docs")
- (source "docs")
- (dest @dest)
- (pattern "#?")
- (files)
- (infos)
- (confirm)
- )
-
- (copyfiles
- (help "This will copy example KBs")
- (source "KBs")
- (dest @dest)
- (pattern "#?")
- (files)
- (infos)
- (confirm)
- )
-
- (set @kbt-assign (cat "assign KBTools: " @dest))
-
-
- (startup "Istar"
- (prompt "KBTools assign needs to be added to the \"S:user-startup\".")
- (help "Not strictly necessary, but avoids annoying requester.")
- (command @kbt-assign)
-
- )
-
-